package com.zzty.txj1.service.impl;

import com.zzty.txj1.dao.RunDao;
import com.zzty.txj1.entity.Run;
import com.zzty.txj1.service.RunService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RunServiceImpl implements RunService {
    @Autowired
    private RunDao runDao;

    @Override
    public Run getRunById(Run run){
        Run run1=runDao.getRunById(run);
        return run1;
    }
}
